package com.eagle.epay.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created by eagle
 */
@Component
@ConfigurationProperties(prefix = "redis")
@Data
public class RedisPropertiesConfig {
	private String masterName;
	private String password;
	private String sentinelAddresses;
	private String clusterAddresses;
	private String hostName;
	private int port;
	private int maxIdle;
	private int maxWait;
}
